package cn.shop.cloud.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @program: IntelliJ IDEA
 * @ClassName: CodeMsg
 * @description:
 * @author: Song
 * @create: 2024-12-13 08 : 28
 * @version: 1.0
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class CodeMsg {
    private Integer code;
    private String msg;

    public static final CodeMsg ACCOUNT_EMPTY_ERROR = new CodeMsg(500001,"账号不能为空");
    public static final CodeMsg PASSWORD_EMPTY_ERROR = new CodeMsg(500002,"密码不能为空");

}
